﻿<?php
	/**
	* 将GetImgUrl类合并为此类11.30
	*/
	class UpdateUserInfo{
		public $result;
		public $img_url;
		function __construct(){
			$this->img_url="";
			$this->result="failure";
		}
	}
	/**
	* 插件
	*/
	class Plugin extends UpdateUserInfo
	{
		public $vision;
		public $plug_name;
		function __construct()
		{
			parent::__construct();
			$this->vision="v1.0";
			$this->plug_name="";
		}
	}
	class  UserInfo extends UpdateUserInfo
	{
		public $id;
		public $username;
		public $email;
		public $work;
		public $sex;
		public $birth;
		public $location;
		public $usersign;
		public $follow_num;
		public $focus_num;
		// public $result;
		function __construct()
		{
			parent::__construct();
			$this->id="";
			$this->username="";
			$this->email="";
			// $this->result="failure";
			$this->work="";
			$this->birth="";
			$this->location="";
			$this->usersign="";
			$this->sex="";
			$this->follow_num="0";
			$this->focus_num="0";
		}
	}
	class UserSign{
		public $id;
		public $username;
		public $email;
		public $result;
		function __construct(){
			$this->id="";
			$this->username="";
			$this->email="";
			$this->result="failure";
		}
	}
	/**
	* 
	*/
	// class GetImgUrl{
	// 	public $img_url;
	// 	public $result;
	// 	function __construct(){
	// 		$this->img_url="";
	// 		$this->result="failure";
	// 	}
	// }
	// 模拟爱好json测试用
	class test2{
		public $sport;
		public $tech;
		public $skin;
		public $game;
		function __construct(){
			$this->sport="跑步,打羽毛球,排球";
			$this->tech="电脑,航模";
			$this->skin="护肤,化妆";
			$this->game="aorist,海贼无双";
		}
	}
?>